package com.mydemo.design_pattern.action_type.template_pattern;

/**
 * <p></p >
 *
 * @author liming1
 * @version $Id: Game, v1.0 2019-09-24 13:58 liming1 Exp $
 */
public abstract class Game {
    public abstract void start();
    public abstract void end();

    public final void play(){
        System.out.println("我们要组织一场比赛");
        start();
        end();
        System.out.println("衷心感谢各位前来观赏");
    }
}
